<?php

namespace app\api\listener\order;

class PayNotify
{
    /**
     * @param array $params ['handle' => '处理类','trans_no'=>'交易单号']
     */
    public function handle(array $params)
    {
        (new $params['handle'])->paySuccess($params['trans_no']);
    }
}